package com.qq.springcloud.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName ApplicationContextConfig
 * @Description TODO
 * Author yangqinglin
 * @Date 2020/7/19 12:26
 * @Version
 **/

@Configuration
public class ApplicationContextConfig {


    @Bean


    public RestTemplate getRestTemplate(){
        return  new RestTemplate();
    }
}
